package com.plian.system.service.lg;

import com.plian.system.dto.lg.MlegalProceedingsArbitrationDTO;
import com.plian.system.entity.lg.MlegalProceedingsArbitration;
import com.plian.system.mybatis.base.BaseService;
import com.plian.system.vo.report.ReportReturnVO;
import org.apache.ibatis.annotations.Param;

import java.io.File;

/**
 * 服务类
 *
 * @author gangan
 * @since 2019-09-27
 */
public interface IMlegalProceedingsArbitrationService extends BaseService<MlegalProceedingsArbitration> {


	/**
	 * 判断编码是否重复
	 *
	 * @param id
	 * @param code
	 * @return
	 */
	Boolean checkIsExisted(Long id, @Param("code") String code);


	/**
	 * 市属企业重大法律诉讼及仲裁案件情况调查表
	 * @param mlegalProceedingsArbitrationDTO
	 * @return
	 */
	ReportReturnVO legalArbitrationSurvey(MlegalProceedingsArbitrationDTO mlegalProceedingsArbitrationDTO);

	/**
	 * 统计打印
	 * @param fillingUnitId
	 * @param startTime
	 * @param endTime
	 * @return
	 */
	File buildpdf(String fillingUnitId, String startTime, String endTime);

}
